package com.naxian.service.searchInfo;

import com.github.pagehelper.PageInfo;
import com.naxian.vo.SearchInfoDTO;
import com.naxian.vo.SearchInfoResultDTO;
import com.naxian.vo.search.SearchCenterVo;
import com.naxian.vo.searchInfo.SearchInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SearchInfoService {
    public PageInfo<SearchInfo> getByInfo(int pageNum, int pagetSize);
    //根据条件查询公司表和招聘表 获取一个list
    public List<SearchCenterVo> getByStyle(String salary,String companyType,String education,String companySize );
    //获取数据库中所有招聘的总数
    public int getByStyle();

    public PageInfo<SearchInfoDTO> query(Integer page, SearchInfoResultDTO searchInfoResultDTO);
}
